package com.itcast.n1_base1;

public class Test9_导致类初始化1_访问静态变量 {
    public static void main(String[] args) {
        int i = Demo2.i;
        System.out.println(i);
    }
}


class Demo2{
    static {
        System.out.println("初始化了...");
    }
    public static int i = 0;
}
